package com.jiangyg.mall.cart.dto;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 类描述：修改购物车数量
 *
 * @author jiangyg
 * @version 4.0
 * @date 2022-12-08
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode
public class UpdateCountDTO implements Serializable {

    private static final long serialVersionUID = -7654334467052789046L;

    /**
     * skuId
     */
    @NotNull
    private Long skuId;

    /**
     * 数量
     */
    @NotNull
    private Integer count;

}
